package com.whminwei.edu.api.tchbase.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangzf
 * @since 2024/8/6
 **/
@Data
@NoArgsConstructor
public class TroFspn {
    @JsonValue
    private List<TchResearchOfficeBo> troList;

    @JsonCreator
    public TroFspn(List<TchResearchOfficeBo> troList) {
        this.troList = troList;
    }


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TchResearchOfficeBo {
        /**
         * 教研室id
         */
        private String troId;
        /**
         * 教研室名称
         */
        private String troName;
        /**
         * 教研室下教师集合
         */
        private List<String> teacherIdList;
    }
}
